#!/usr/bin/env python
# -*- coding: utf-8 -*-

import wx

import libs.config
import gui.MainWindow

config = libs.config.config(u"config.xml")

class textEditor(wx.App):
    def OnInit(self):
        frame = gui.MainWindow.MainFrame(None)
        frame.Show()
        return True
    
    def GetSettings(self):
        return config.settings

if __name__ == "__main__":
    application = textEditor()
    application.MainLoop()
